<?php defined('BASEPATH') OR exit('No direct script access allowed');

class Plugin_Prc extends Plugin {
	/**
	 *
	 *
	 * Usage:
	 * {dcpusatv3:prc:tampilkan}
	 *	<h2>{dcpusatv3:title}</h2>
	 *	{dcpusatv3:body}
	 * {/dcpusatv3:prc:tampilkan}
	 *
	 * @param	array
	 * @return	array
	 */
	
	 
	function tampilkan ()	{
		return $this->db->query("SELECT * FROM ".NSISPRAN."_unit_kerja WHERE id =(SELECT MAX(id) FROM ".NSISPRAN."_unit_kerja_master)")->result_array();
	}	
	
	function test()	{
		return 'wkwkwkwkw';
	}

}